package com.partner.match.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.partner.match.model.entity.UserTeam;
import org.apache.ibatis.annotations.Param;

/**
* @author jzz
* @description 针对表【user_team(用户队伍关系表)】的数据库操作Mapper
* @createDate 2025-01-25 10:32:01
* @Entity generator.domain.UserTeam
*/
public interface UserTeamMapper extends BaseMapper<UserTeam> {

    /**
     * 查询出另一个队长ID
     * @param teamId
     * @return
     */
    Long queryLeader(@Param("teamId") Long teamId,@Param("userId") Long userId);
}




